package com.txts.road.app.device.service.impl;

import com.txts.road.app.device.model.dto.SOSRequestDTO;
import com.txts.road.app.device.model.dto.SafeReportDTO;
import com.txts.road.app.device.model.query.DeviceSearchQuery;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.txts.road.app.device.mapper.DeviceMapper;
import com.txts.road.app.device.service.DeviceService;
import com.txts.road.app.device.model.entity.DeviceEntity;
import com.txts.road.app.device.model.vo.DeviceVO;

import java.util.List;

/**
 * 设备服务实现类
 *
 * @author baoyr
 * @since 2025-07-17 10:48
 */
@Service
@RequiredArgsConstructor
public class DeviceServiceImpl extends ServiceImpl<DeviceMapper, DeviceEntity> implements DeviceService {


    @Override
    public List<DeviceVO> searchDevices(DeviceSearchQuery searchDTO) {
        return List.of();
    }

    @Override
    public DeviceVO getDeviceDetail(Long deviceId) {
        return null;
    }

    @Override
    public Boolean connectDevice(Long deviceId) {
        return null;
    }

    @Override
    public Boolean disconnectDevice(Long deviceId) {
        return null;
    }

    @Override
    public Boolean sendSafeReport(SafeReportDTO reportDTO) {
        return null;
    }

    @Override
    public Boolean sendSOS(SOSRequestDTO sosDTO) {
        return null;
    }
}
